#include <iostream>
#include "State.hpp"

using namespace std;

void State::showStateChange(Context *context, shared_ptr<State> old_state)
{
    cout << context->getContextName() << "从（" << old_state->getStateName() << "）"
         << "进入到（" << this->getStateName() << "）" << endl;
}
